package com.example.demo.mqserver.core;

/**
 * Created with IntelliJ IDEA.
 * Description
 * User: 杰
 * Date: 2023 -07 -29
 * Time: 17:41
 */

public enum ExchangeType {
    DIRECT(0),
    FANOUT(1),
    TOPIC(2);

    private final int type;

    ExchangeType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }
}
